import adminHeader from '../components/admin/adminHeader'

import adminStudents from '../components/admin/adminStudents'
import editStudent from '../components/admin/editStudent'
import addStudent from '../components/admin/addStudent'

import adminCar from '../components/admin/adminCar'

import adminMenu from '../components/admin/adminMenu'

import adminSelf from '../components/admin/adminSelf'
export default{
    admainurl:{
        path: '/admin/',
        name: 'adminHeader',
        components: {
            addComName:adminHeader
        },
        meta:{
             requireAuth:true
        },  
        children:[
            {
                path:'adminStudents',
                name:'adminStudents',
                components: {
                    adminV:adminStudents
                },
                meta:{
                     requireAuth:true
                },
            },
            {
                path:'editStudent',
                name:'editStudent',
                components: {
                    adminV:editStudent
                },
                meta:{
                     requireAuth:true
                },
            },
            {
                path:'addStudent',
                name:'addStudent',
                components: {
                    adminV:addStudent
                },
                meta:{
                     requireAuth:true
                },
            },

            {
                path:'adminCar',
                name:'adminCar',
                components: {
                    adminV:adminCar
                },
                meta:{
                     requireAuth:true
                },
            },
            {
                path:'adminMenu',
                name:'adminMenu',
                components: {
                    adminV:adminMenu
                },
                meta:{
                     requireAuth:true
                },
            },
            {
                path:'adminSelf',
                name:'adminSelf',
                components: {
                    adminV:adminSelf
                },
                meta:{
                     requireAuth:true
                },
            }
        ]
    },
}